<!-- 送印传票 -->
<template>
<div><div :id="printId" class="print-container" style="page-break-after: always;">
<div style="height: 18mm;"></div>
<div style="font-weight: bolder !important; font-family: '思源宋体 SemiBold' !important; font-size: 20pt !important; text-align: center;">{{ courseInfo.xueqi_1 }}年{{ courseInfo.xueqi_2 }}季学期【】考试</div>
<div style="font-weight: bolder !important; font-family: '思源宋体 SemiBold' !important; font-size: 20pt !important; text-align: center;">试卷送印传票（一式三联）</div>
<div style="height: 2mm;"></div>
<div style="font-weight: 'normal' !important; font-family: '宋体' !important; font-size: 16pt !important; text-align: center;">请仔细核对试卷、答题卷页数并正确填写</div>
<div style="height: 10mm;"></div>
<div style="margin: 0 27mm;padding: 0;">
  <table style="width: 100%; border: 0.7mm solid black;margin:0; font-size: 14pt;">
    <colgroup>
      <col style="width: 18%" />
      <col style="width: 69%" />
      <col style="width: 13%" />
    </colgroup>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">考试科目</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.subject : "" }}&nbsp;</td>
      <td class="print-label" rowspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 12pt;">印制用</span>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">年级</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.grade : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">专业</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.major : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">试卷说明</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
        <span style="display: inline-block; margin: 0 3mm;">试卷{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.paperpage : "" }}页</span>
        <span style="display: inline-block; margin: 0 3mm;">答题卷{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.keypage : "" }}页</span>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">印制份数</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.numbers : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">送印日期</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.sendtime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">取卷日期</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.awaytime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">备注</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.comments : "" }}&nbsp;</td>
    </tr>
  </table>
</div>
<div style="height: 10mm;"></div>
<div style="margin: 0 27mm;padding: 0;">
  <table style="width: 100%; border: 0.7mm solid black;margin:0; font-size: 14pt;">
    <colgroup>
      <col style="width: 18%" />
      <col style="width: 69%" />
      <col style="width: 13%" />
    </colgroup>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">考试科目</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.subject : "" }}&nbsp;</td>
      <td class="print-label" rowspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 12pt;">调度用</span>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">年级</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.grade : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">专业</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.major : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">试卷说明</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
        <span style="display: inline-block; margin: 0 3mm;">试卷{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.paperpage : "" }}页</span>
        <span style="display: inline-block; margin: 0 3mm;">答题卷{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.keypage : "" }}页</span>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">印制份数</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.numbers : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">送印日期</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.sendtime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">取卷日期</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.awaytime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">备注</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.comments : "" }}&nbsp;</td>
    </tr>
  </table>
</div>
<div style="height: 10mm;"></div>
<div style="margin: 0 27mm;padding: 0;">
  <table style="width: 100%; border: 0.7mm solid black;margin:0; font-size: 14pt;">
    <colgroup>
      <col style="width: 18%" />
      <col style="width: 69%" />
      <col style="width: 13%" />
    </colgroup>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">考试科目</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.subject : "" }}&nbsp;</td>
      <td class="print-label" rowspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 12pt;">各系回执</span>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">年级</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.grade : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">专业</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.major : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">试卷说明</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
        <span style="display: inline-block; margin: 0 3mm;">试卷{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.paperpage : "" }}页</span>
        <span style="display: inline-block; margin: 0 3mm;">答题卷{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.keypage : "" }}页</span>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">印制份数</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.numbers : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">送印日期</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.sendtime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">取卷日期</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.awaytime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <span style="font-family: '宋体' !important; font-size: 14pt;">备注</span>
      </td>
      <td class="print-label" style="font-family: '宋体' !important; font-size: 14pt; border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.sendprinting) ? courseInfo.sendprinting.comments : "" }}&nbsp;</td>
    </tr>
  </table>
</div>
</div>
</div>
</template>

<script>
export default {
  components: {},
  props: {
    courseInfo: {},
    printId: {type: String}
  },
  data() {
    return {}
  },
  methods: {},
  beforeUpdate: function() {
    console.log("DeliveryOfSummons beforeUpdate => ", this.courseInfo);
  },
  updated: function() {
    console.log("DeliveryOfSummons updated => ", this.courseInfo);
  },
  mounted: function() {
    console.log("DeliveryOfSummons mounted => ", this.courseInfo);
  }
}
</script>

<style lang="less" scoped>
.print-container {
  width: 205.5mm;
  height: 292mm;
  color: #000000;
}
.print-label {
  font-family: '黑体'!important;
}
.print-content {
  font-family: '宋体'!important;
  > div {
    padding: 0.7mm 1mm;
    text-align: justify;
  }
}
td {
  background-color: #ffffff;
  text-align: center;
  padding: 1.1mm 0;
}
</style>